package com.bean;


public class Employee {
    private String id;//员工号
    private String name;//员工姓名
    private String password;//密码
    private String deptid;//部门号
    private boolean onwork;//在职状态
    private boolean ismanager;//是否经理

    public Employee(String id, String name, String password, String deptid, boolean onwork, boolean ismanager) {
        this.id = id;
        this.name = name;
        this.password = password;
        this.deptid = deptid;
        this.onwork = onwork;
        this.ismanager = ismanager;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getDeptid() {
        return deptid;
    }

    public void setDeptid(String deptid) {
        this.deptid = deptid;
    }

    public boolean isOnwork() {
        return onwork;
    }

    public void setOnwork(boolean onwork) {
        this.onwork = onwork;
    }

    public boolean isIsmanager() {
        return ismanager;
    }

    public void setIsmanager(boolean ismanager) {
        this.ismanager = ismanager;
    }
}
